package com.sky;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement //开启注解方式的事务管理
@EnableCaching
@Slf4j
public class SkyApplication {
    public static void main(String[] args) {
        SpringApplication.run(SkyApplication.class, args);
        log.info("\n" +
                "\u001B[94m     /\\_/\\\u001B[0m\n" +
                "    ( o.o )\n" +
                "     > ^ <\n\n" +
                "\u001B[94m✦ 服务启动成功啦！\u001B[0m\n" +
                "\u001B[95m(๑•̀ㅂ•́)우 萌系冒险开始！\u001B[0m\n" +
                "\u001B[92m✨ 系统核心加载完成...\u001B[0m");
    }
}

